package com.elantra.dao;

import com.elantra.entity.ElantraLoginAction;
import org.apache.ibatis.annotations.Param;

public interface ElantraLoginActionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ElantraLoginAction record);

    int insertSelective(ElantraLoginAction record);

    ElantraLoginAction selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ElantraLoginAction record);

    int updateByPrimaryKey(ElantraLoginAction record);

    ElantraLoginAction getByUserAndPlatform(@Param("userId") int userId, @Param("platform") String platform);

}